<template>
  <div>
    <tabbar></tabbar>
    <router-view> </router-view>
  </div>
</template>
<script>
import tabbar from './components/Tabbar.vue'
import axios from 'axios'
// es6模块导出
export default {
  data () {
    return {}
  },
  components: {
    tabbar
  },
  mounted () {
    axios({
      url: 'https://m.maizuo.com/gateway?cityId=110100&pageNum=1&pageSize=1&type=1&k=7852341',
      headers: {
        'X-Client-Info':
          '{"a":"3000","ch":"1002","v":"5.0.4","e":"1638017656169397805121537","bc":"110100"}',
        'X-Host': 'mall.film-ticket.film.list'
      },
      method: 'get'
    }).then(res => {
      // console.log(res.data)
    })
  }
}
</script>

<style scoped>
li {
  background: red;
}
</style>
